package com.wiscamp.ninechapters.problems.domain.events;

import org.springframework.context.ApplicationEvent;

public class AssignmentCreatedEvent extends ApplicationEvent {

    private final long assignmentId;

    public long getAssignmentId() {
        return this.assignmentId;
    }

    public AssignmentCreatedEvent(Object source, long assignmentId) {
        super(source);
        this.assignmentId = assignmentId;
    }
}
